home *** CD-ROM | disk | FTP | other *** search
/ CD-ROM Windows Selection / Windows Selection 1.iso / Programmer's Utilities / Freeman Installer / eng / fimain.rc < prev    next >
Encoding:
Text File  |  1995-09-17  |  13.3 KB  |  369 lines

  1.  
  2. /* if invoked by rc.exe, we need to define the various window/ctrl */
  3. /* styles needed by our script                                     */
  4.  
  5. #ifndef WORKSHOP_INVOKED
  6.  
  7. #include "stddef.rh"
  8.  
  9. #endif
  10.  
  11.  
  12. #include "gadgets.rh"
  13. #include "moddos.rh"
  14. #include "dlgprog.rh"
  15. #include "selcomps.rh"
  16. #include "dlgaow.rh"
  17. #include "prmptstr.rh"
  18. #include "askuser.rh"
  19.  
  20.  
  21. DLGMSGDLG DIALOG PRELOAD MOVEABLE DISCARDABLE 81, 75, 257, 52
  22. STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
  23. FONT 9, "helv"
  24. BEGIN
  25.     ICON "ICONFINSTALL", -1, 5,7,18,20
  26.     CONTROL "Message", -1, "BUTTON", BS_GROUPBOX | WS_CHILD | WS_VISIBLE, 29,3,203,41
  27.     CONTROL "", 101, "STATIC", SS_CENTER | SS_NOPREFIX, 35,13,191,25
  28. END
  29.  
  30. DLGSELCOMPS DIALOG 50, 46, 258, 209
  31. STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
  32. CAPTION "Select Components To Install"
  33. FONT 9, "helv"
  34. {
  35.  LTEXT "Option Tree will be here", d10opttreepos, 11,10,121,168, SS_NOPREFIX | WS_BORDER
  36.  GROUPBOX "Description", -1, 142,6,106,76, BS_GROUPBOX | WS_CHILD | WS_VISIBLE
  37.  LTEXT "", d10desc, 147,18,96,58, SS_LEFT | SS_NOPREFIX | WS_CHILD | WS_VISIBLE | WS_GROUP
  38.  LTEXT "Disk space required:", -1, 142,86,106,8
  39.  EDITTEXT d10needed, 142,96,106,12, ES_READONLY
  40.  CONTROL "", d10percent, "Static", SS_SIMPLE | WS_CHILD | WS_VISIBLE | WS_BORDER, 142,117,106,
  41. 11
  42.  LTEXT "0 K", -1, 142,130,16,8
  43.  RTEXT "1000 K", d10total, 220,130,28,8
  44.  GROUPBOX "Disk space available", -1, 142,144,106,34, BS_GROUPBOX | WS_CHILD | WS_VISIBLE
  45.  COMBOBOX d10drv, 147,159,41,42, CBS_DROPDOWNLIST | WS_VSCROLL | WS_TABSTOP
  46.  EDITTEXT d10avail, 193,159,50,12, ES_READONLY
  47.  DEFPUSHBUTTON "&OK", IDOK, 11,186,30,14
  48.  PUSHBUTTON "&Cancel", IDCANCEL, 57,186,30,14
  49.  PUSHBUTTON "&Help", d10help, 102,186,30,14
  50. }
  51.  
  52. DLGPROG DIALOG PRELOAD MOVEABLE DISCARDABLE 90, 77, 206, 86
  53. STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
  54. CAPTION "Progress"
  55. FONT 9, "helv"
  56. {
  57.  LTEXT "", d17txt1, 5,5,197,8, SS_NOPREFIX
  58.  LTEXT "", d17txt2, 5,16,197,8, SS_NOPREFIX
  59.  LTEXT "", d17txt3, 5,27,197,8, SS_NOPREFIX
  60.  ICON "", d17icon, 5,39,18,20
  61.  CONTROL "Progress bar", d17progbar, "Static", SS_SIMPLE | WS_CHILD | WS_VISIBLE | WS_BORDER | WS_GROUP, 31,42,154,14
  62.  DEFPUSHBUTTON "&Cancel", 2, 90,66,35,14
  63. }
  64.  
  65. DLGAOW DIALOG PRELOAD MOVEABLE DISCARDABLE 53, 65, 292, 182
  66. STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
  67. CAPTION "File Attribute Incompatible"
  68. FONT 9, "helv"
  69. {
  70.  GROUPBOX "Source file", -1, 10,8,116,166, BS_GROUPBOX | WS_CHILD | WS_VISIBLE
  71.  LTEXT "Path", -1, 16,20,103,8
  72.  LTEXT "", d16srcpath, 16,28,103,12, WS_BORDER
  73.  LTEXT "Type", -1, 16,44,103,8
  74.  LTEXT "", d16srcprmtype, 16,53,103,12, WS_BORDER
  75.  LTEXT "Subtype", -1, 16,71,103,8
  76.  LTEXT "", d16srcsubtype, 16,80,103,12, WS_BORDER
  77.  LTEXT "Language", -1, 16,95,103,8
  78.  LTEXT "", d16srclang, 16,104,103,12, WS_BORDER
  79.  LTEXT "Character set", -1, 16,120,103,8
  80.  LTEXT "", d16srccset, 16,129,103,12, WS_BORDER
  81.  LTEXT "Version", -1, 16,145,103,8
  82.  LTEXT "", d16srcver, 16,154,103,12, WS_BORDER
  83.  GROUPBOX "Target file", -1, 132,8,116,166, BS_GROUPBOX | WS_CHILD | WS_VISIBLE
  84.  LTEXT "Path", -1, 139,20,103,8
  85.  EDITTEXT d16dstpath, 139,28,103,12, ES_AUTOHSCROLL
  86.  LTEXT "Type", -1, 139,44,103,8
  87.  LTEXT "", d16dstprmtype, 139,53,103,12, WS_BORDER
  88.  LTEXT "Subtype", -1, 139,71,103,8
  89.  LTEXT "", d16dstsubtype, 139,80,103,12, WS_BORDER
  90.  LTEXT "Language", -1, 139,95,103,8
  91.  LTEXT "", d16dstlang, 139,104,103,12, WS_BORDER
  92.  LTEXT "Character set", -1, 139,120,103,8
  93.  LTEXT "", d16dstcset, 139,129,103,12, WS_BORDER
  94.  LTEXT "Version", -1, 139,145,103,8
  95.  LTEXT "", d16dstver, 139,154,103,12, WS_BORDER
  96.  DEFPUSHBUTTON "&Copy", IDOK, 254,11,32,14
  97.  PUSHBUTTON "&Skip", IDCANCEL, 254,35,32,14
  98.  PUSHBUTTON "&Help", d16help, 254,59,32,14
  99. }
  100.  
  101. DLGMSGBOX0 DIALOG PRELOAD MOVEABLE DISCARDABLE 46, 92, 280, 66
  102. STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
  103. FONT 9, "helv"
  104. {
  105.  ICON "", 101, 5, 7, 18, 20, SS_ICON | WS_CHILD | NOT WS_VISIBLE
  106.  GROUPBOX "Message", -1, 27, 3, 226, 55, BS_GROUPBOX | WS_CHILD | WS_VISIBLE
  107.  CTEXT "", 102, 32, 13, 217, 40, SS_CENTER | SS_NOPREFIX | WS_CHILD | WS_VISIBLE
  108. }
  109.  
  110. DLGMSGBOX1 DIALOG PRELOAD MOVEABLE DISCARDABLE 44, 94, 280, 87
  111. STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
  112. FONT 9, "helv"
  113. BEGIN
  114.     CONTROL "", 101, "STATIC", SS_ICON | WS_CHILD | NOT WS_VISIBLE, 5, 7, 18, 20
  115.     CONTROL "Message", -1, "BUTTON", BS_GROUPBOX | WS_CHILD | WS_VISIBLE, 27, 3, 226, 55
  116.     CONTROL "", 102, "STATIC", SS_CENTER | SS_NOPREFIX | WS_CHILD | WS_VISIBLE, 32, 13, 217, 40
  117.     DEFPUSHBUTTON "btn1", 103, 117, 65, 46, 14
  118. END
  119.  
  120. DLGMSGBOX2 DIALOG PRELOAD MOVEABLE DISCARDABLE 81, 75, 280, 87
  121. STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
  122. FONT 9, "helv"
  123. BEGIN
  124.     CONTROL "", 101, "STATIC", SS_ICON | WS_CHILD | NOT WS_VISIBLE, 5, 7, 18, 20
  125.     CONTROL "Message", -1, "BUTTON", BS_GROUPBOX | WS_CHILD | WS_VISIBLE, 27, 3, 226, 55
  126.     CONTROL "", 102, "STATIC", SS_CENTER | SS_NOPREFIX | WS_CHILD | WS_VISIBLE, 32, 13, 217, 40
  127.     DEFPUSHBUTTON "btn1", 103, 70, 65, 46, 14
  128.     PUSHBUTTON "btn2", 104, 163, 65, 46, 14
  129. END
  130.  
  131. DLGMSGBOX3 DIALOG PRELOAD MOVEABLE DISCARDABLE 81, 75, 280, 87
  132. STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
  133. FONT 9, "helv"
  134. BEGIN
  135.     CONTROL "", 101, "STATIC", SS_ICON | WS_CHILD | NOT WS_VISIBLE, 5, 7, 18, 20
  136.     CONTROL "Message", -1, "BUTTON", BS_GROUPBOX | WS_CHILD | WS_VISIBLE, 27, 3, 226, 55
  137.     CONTROL "", 102, "STATIC", SS_CENTER | SS_NOPREFIX | WS_CHILD | WS_VISIBLE, 32, 13, 217, 40
  138.     DEFPUSHBUTTON "btn1", 103, 51, 65, 53, 14
  139.     PUSHBUTTON "btn2", 104, 113, 65, 53, 14
  140.     PUSHBUTTON "btn3", 105, 175, 65, 53, 14
  141. END
  142.  
  143. DLGMSGBOX4 DIALOG PRELOAD MOVEABLE DISCARDABLE 81, 75, 280, 87
  144. STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
  145. FONT 9, "helv"
  146. BEGIN
  147.     CONTROL "", 101, "STATIC", SS_ICON | WS_CHILD | NOT WS_VISIBLE, 5, 7, 18, 20
  148.     CONTROL "Message", -1, "BUTTON", BS_GROUPBOX | WS_CHILD | WS_VISIBLE, 27, 3, 226, 55
  149.     CONTROL "", 102, "STATIC", SS_CENTER | SS_NOPREFIX | WS_CHILD | WS_VISIBLE, 32, 13, 217, 40
  150.     DEFPUSHBUTTON "btn1", 103, 38, 65, 46, 14
  151.     PUSHBUTTON "btn2", 104, 91, 65, 46, 14
  152.     PUSHBUTTON "btn3", 105, 142, 65, 46, 14
  153.     PUSHBUTTON "btn4", 106, 195, 65, 46, 14
  154. END
  155.  
  156. DLGPROMPTSTR DIALOG 52, 96, 276, 86
  157. STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
  158. FONT 9, "helv"
  159. {
  160.  ICON "ICONFINSTALL", -1, 4,8,18,20
  161.  GROUPBOX "Message", -1, 26, 4, 203, 53, BS_GROUPBOX | WS_CHILD | WS_VISIBLE
  162.  CONTROL "", d01prm, "STATIC", SS_CENTER | SS_NOPREFIX | WS_GROUP, 31, 16, 194, 36
  163.  EDITTEXT d01str, 26, 64, 203, 12, ES_AUTOHSCROLL
  164.  DEFPUSHBUTTON "&OK", IDOK, 237, 8, 32, 14
  165.  PUSHBUTTON "&Cancel", IDCANCEL, 237, 35, 32, 14
  166.  PUSHBUTTON "&Help", d01help, 237, 62, 32, 14
  167. }
  168.  
  169. DLGASKUSER DIALOG 67, 66, 218, 96
  170. STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
  171. CAPTION "User Information"
  172. FONT 9, "helv"
  173. {
  174.  GROUPBOX "Message", -1, 10,4,156,47, BS_GROUPBOX | WS_CHILD | WS_VISIBLE
  175.  CONTROL "", d02prmt, "STATIC", SS_NOPREFIX | WS_GROUP, 18,18,144,29
  176.  LTEXT "User name:", -1, 10,62,54,8
  177.  EDITTEXT d02user, 67,59,99,12
  178.  LTEXT "Company name:", -1, 10,77,54,8
  179.  EDITTEXT d02comp, 67,76,99,12
  180.  DEFPUSHBUTTON "&OK", IDOK, 177,8,31,14
  181.  PUSHBUTTON "&Cancel", IDCANCEL, 177,32,31,14
  182.  PUSHBUTTON "&Help", d02help, 177,56,31,14
  183. }
  184.  
  185. DLGDOSINFORM DIALOG DISCARDABLE  20, 72, 345, 176
  186. STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
  187. CAPTION "DOS System File Modifications"
  188. FONT 9, "helv"
  189. BEGIN
  190.     LTEXT           "Original:",-1,8,7,29,8
  191.     EDITTEXT        d03srcls,8,18,154,108,ES_MULTILINE | ES_AUTOVSCROLL | 
  192.                     ES_AUTOHSCROLL | ES_READONLY | WS_VSCROLL | WS_HSCROLL | 
  193.                     0x1000
  194.     LTEXT           "Proposed:",-1,184,7,36,8
  195.     EDITTEXT        d03dstls,184,18,154,108,ES_MULTILINE | ES_AUTOVSCROLL | 
  196.                     ES_AUTOHSCROLL | WS_VSCROLL | WS_HSCROLL | 0x1000
  197.     SCROLLBAR       d03scroll,168,18,9,98,SBS_VERT
  198.     LTEXT           "Backup as:",-1,8,133,41,8
  199.     EDITTEXT        d03bkpath,50,132,112,12,ES_AUTOHSCROLL
  200.     DEFPUSHBUTTON   "&Save",IDOK,8,153,45,14
  201.     PUSHBUTTON      "&Don't Save",IDCANCEL,63,153,45,14
  202.     PUSHBUTTON      "&Help",d03help,117,153,45,14
  203. END
  204.  
  205. DLGGAUGE DIALOG DISCARDABLE  69, 15, 39, 144
  206. STYLE WS_POPUP | WS_CLIPCHILDREN | WS_DLGFRAME
  207. FONT 9, "helv"
  208. BEGIN
  209.     CTEXT           "0%",d08ram,5,5,11,117,WS_BORDER
  210.     CTEXT           "0%",d08cpu,23,5,11,117,WS_BORDER
  211.     CTEXT           "RAM",-1,1,128,19,8
  212.     CTEXT           "CPU",-1,20,128,18,8
  213. END
  214.  
  215.  
  216. //////////////////////////////////////////////////////////////////////////////
  217. //
  218. // Icon
  219. //
  220.  
  221. ICONFINSTALL            ICON    DISCARDABLE     "FINSTALL.ICO"
  222. ICONHARDDISK            ICON    PRELOAD DISCARDABLE "ICONHARD.ICO"
  223. ICONSETUP               ICON    PRELOAD DISCARDABLE "ICONSETU.ICO"
  224.  
  225. //////////////////////////////////////////////////////////////////////////////
  226. //
  227. // Bitmap
  228. //
  229.  
  230. BMEXITUP                BITMAP  MOVEABLE PURE   "EXITUP.BMP"
  231. BMEXITDN                BITMAP  MOVEABLE PURE   "EXITDN.BMP"
  232. BMHELPUP                BITMAP  MOVEABLE PURE   "HELPUP.BMP"
  233. BMHELPDN                BITMAP  MOVEABLE PURE   "HELPDN.BMP"
  234. BMMINZUP                BITMAP  MOVEABLE PURE   "MINZUP.BMP"
  235. BMMINZDN                BITMAP  MOVEABLE PURE   "MINZDN.BMP"
  236. STRINGTABLE 
  237. BEGIN
  238.     1, "Usage:fimain [install source dir]"
  239.     2, "install.inf or setup.inf not found"
  240.     3, "%s contains bad data"
  241.     4, "Unable to evaluate integer expression %s"
  242.     5, "Bad variable name in expression %s"
  243.     6, "Unknown variable %s in expression %s"
  244.     7, "A piece of C++ user code is being skipped"
  245.     8, "Skipping User Code"
  246.     9, "Unable to convert %s to integer"
  247.     10, "Invalid path"
  248.     11, "Simply follow the instructions in the program!"
  249.     12, "Help"
  250.     13, "This product is registered to the user shown below"
  251.     14, "Thank you for choosing this product!!!\n\nPlease enter your name below"
  252.     15, "User name must be at least 4 characters long"
  253.     16, "Only ascii characters are allowed"
  254.     17, "install.exe has invalid user info"
  255.     18, "Unable to open the dialog"
  256.     19, "application program"
  257.     20, "dynamic-link library"
  258.     21, "device driver"
  259.     22, "font"
  260.     23, "virtual device driver"
  261.     24, "static-link library"
  262.     25, "unknown"
  263.     26, "communication"
  264.     27, "printer"
  265.     28, "keyboard"
  266.     29, "language"
  267.     30, "display"
  268.     31, "mouse"
  269.     32, "network"
  270.     33, "system"
  271.     34, "installable"
  272.     35, "sound"
  273.     36, "Copying: %d%%"
  274.     37, "Unable to create the install info object"
  275.     38, "Unable to initialize the operation recorder"
  276.     39, "Unable to create the context sensitive help obj"
  277.     40, "Unable to create the background window"
  278.     41, "Copying: 0%%"
  279.     42, "Unable to create the icon window"
  280.     43, "Setting/creating INI entries..."
  281.     44, "Setting/creating registration keys..."
  282.     45, "Unable to construct the progress dialog box"
  283.     46, "Decompressing %s"
  284.     47, "Copying %s"
  285.     48, "From %s"
  286.     49, "To %s"
  287.     50, "Renaming %s"
  288.     51, "Deleting %s"
  289.     52, "File: %s"
  290.     53, "Backing up %s"
  291.     54, "%s is being backed up as %s"
  292.     55, "Backup"
  293.     56, "%s has been backed up as %s"
  294.     57, "Creating program items..."
  295.     58, "&Install"
  296.     59, "&Don't Install"
  297.     60, "Welcome"
  298.     61, "Congratulations!\n%s has been installed successfully"
  299.     62, "%s has been installed successfully\nbut we need to restart\nWindows for the changes to take effect"
  300.     63, "&Restart"
  301.     64, "&Stay here"
  302.     65, "%s has been installed successfully\nbut we need to restart\nDOS for the changes to take effect"
  303.     66, "Installation Completed"
  304.     67, "&Yes"
  305.     68, "&No"
  306.     69, "&Cancel"
  307.     70, "Query"
  308.     71, "Installation is incomplete\nAre you sure you want to abort the installation?"
  309.     72, "Query Abort"
  310.     73, "Searching for %s..."
  311.     74, "Please insert disk: %s"
  312.     75, "Insert Disk"
  313.     76, "&OK"
  314.     77, "&Cancel"
  315.     78, "&Yes"
  316.     79, "&No"
  317.     80, "&Retry"
  318.     81, "Error"
  319.     82, "&Help"
  320.     83, "Unable to get the directory of the path"
  321.     84, "Unable to compare the version statement"
  322.     85, "Unable to compare the files"
  323.     86, "Unable to get the time stamp of %s"
  324.     87, "Unable to set the time stamp of %s"
  325.     88, "Unable to get the file attributes of %s"
  326.     89, "Unable to set the file attributes of %s"
  327.     90, "Unable to get the free space of drive %s"
  328.     91, "%g K free disk space required but you only have %g K"
  329.     92, "Unable to create registration key %s"
  330.     93, "Unable to set or create registration key %s"
  331.     94, "Unable to delete registration key %s"
  332.     95, "Unable to delete file %s"
  333.     96, "Unable to rename file from %s to %s"
  334.     97, "Unable to open file %s"
  335.     98, "Unable to read from file %s"
  336.     99, "Unable to write to file %s"
  337.     100, "Unable to copy %s to %s"
  338.     101, "Unable to create dir %s"
  339.     102, "Unable to create file %s"
  340.     103, "Unable to close file %s"
  341.     104, "File %s not found"
  342.     105, "The path %s is invalid"
  343.     106, "Unable to open registration key %s"
  344.     107, "Unable to set INI entry %s in file %s"
  345.     108, "Unable to add INI section %s in file %s"
  346.     109, "Unable to delete INI section %s in file %s"
  347.     110, "Unable to insert INI entry %s"
  348.     111, "Unable to set INI entry %s"
  349.     112, "Unable to delete INI entry %s"
  350.     113, "Unable to initiate the DDE library"
  351.     114, "Unable to connect to Program Manager"
  352.     115, "Unable to execute Program Manager"
  353.     116, "begddepm() has not been called"
  354.     117, "Unable to create group %s"
  355.     118, "Unable to show group %s"
  356.     119, "Unable to create PM item %s"
  357.     120, "Unable to delete PM item %s"
  358.     121, "Unable to delete group %s"
  359.     122, "Unable to install font"
  360.     123, "Enter %s"
  361.     124, "Directory"
  362.     125, "String"
  363.     126, "%lu K free space required but you only have %lu K\n\nContinue anyway?"
  364.     127, "The dir is invalid"
  365.     128, "&No"
  366.     129, "&Yes"
  367.     130, "Space Not Enough"
  368. END
  369.